class CreateUserCampaigns < ActiveRecord::Migration
  def self.up
    create_table :user_campaigns do |t|
      t.integer :user_id
      t.integer :campaign_id
      t.boolean :is_active, :default=>false
      t.integer :points, :default=>0
      t.timestamps
    end
  end

  def self.down
    drop_table :user_campaigns
  end
end
